/**
 * 彭秋如<pengqr@lansee.net>
 * 用户登陆验证
 */
// import Fetch from './fetch'
import {getStore} from './store'
import KeyConf from './keyConf'

let auth = {
  isAuth: true,
  methods: {
    authUser () {
      let result = true
      let uInfo = getStore(KeyConf.uInfo)
      if (!uInfo) {
        result = false
      }
      return result
    }
  }
}

export default auth
